﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="__PUBLIC__/Css/common.css" />
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/jquery-1.7.2.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/jquery.blockUI.js\"></sc"+"ript>")</script>
<title>{$System_namex}</title>
<script type="text/javascript">
$(document).ready(function(){	
  $(".nav_off").mousedown(function(){		   
		  $(".nav_off").removeClass("ooppt");
    $(this).addClass("ooppt")
  });
});
</script>
<style>
.ooppt{ display:block; width:110px; height:50px; background:url(__PUBLIC__/Images/nav_hove.gif) no-repeat; color:#F00;}
.ooppt a{ color:#F00 !Important;}
#tx_cont{ display:none; width:300px; border:4px solid #666; background:#FFF; margin:auto auto;}
#tx_cont img{ margin:5px;}
#tx_text{ padding:5px 20px 10px 20px; font-size:14px; line-height:28px; color:#000; text-align:left;}
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" style="height:100%; width:100%;" >
    <tr>
    <td height="60" colspan="3">
    <div id="header">
    <!--<div class="user1"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="550" height="140">
              <param name="movie" value="__PUBLIC__/Swf/550X140.swf" />
              <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
              <embed src="__PUBLIC__/Swf/550X140.swf" width="550" height="140" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
          </object>
     </div>-->
    <div class="user">欢迎你 <a href="__APP__/">{$fck_rs['user_id']}</a>
    <a onclick="javascript:SetUrl('__APP__/Msg/inmsg/')"><img src="__PUBLIC__/Images/ico_msg.gif" style="vertical-align:middle"/>({$info_count})</a>
    <a href="__APP__/Public/LogOut/" onClick="{if(confirm('确定安全退出吗?')){return true;}return false;}" target="_top">退出</a>
     </div>
    </div>
    
	<div id="nav">
        <ul>
        <!-- 导航菜单 -->
        <li class="nav_off"><a onclick="javascript:SetUrl('__APP__/Public/main/')">首页</a></li>
        <li class="nav_off"><a onclick="javascript:qiehuan(1)" id="mynav1">会员管理</a></li>
        <li class="nav_off"><a onclick="javascript:qiehuan(2)" id="mynav2">财务管理</a></li>
        <li class="nav_off"><a onclick="javascript:qiehuan(3)" id="mynav3">市场管理</a></li>
        <li class="nav_off"><a onclick="javascript:qiehuan(4)" id="mynav4">报单中心</a></li>
        <li class="nav_off"><a onclick="javascript:qiehuan(5)" id="mynav5">订单管理</a></li>
        <egt name="fck_rs['is_boss']" value='1'>
		<li class="nav_off"><a onclick="javascript:qiehuan(6)" id="mynav6">后台管理</a></li>
        <else />
        	<egt name="fck_rs['is_aa']" value='1'>
            <li class="nav_off"><a onclick="javascript:qiehuan(6)" id="mynav6">后台管理</a></li>
            <else />
        	<li class="nav_off" style="display:none"><a id="mynav6"></a></li>
            </egt>
        </egt>
        </ul>
    <div id="nihao"></div>
    </div>
    </td>
    </tr>
    	
    
    <tr>
    <td class="main_left" style="width:150px;height: auto;" valign="top">
    
    <div class="l_top" id="qh_con1"><h1>会员管理</h1>  
    <div class="lianx"></div>
        <div class="menu"> 
        <ul>
        <li><a onclick="javascript:SetUrl('__APP__/Plan/planFive')">常见问题</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/News/News')">最新资讯</a></li>
	    <li><a onclick="javascript:SetUrl('__APP__/Msg/inmsg/')">收件箱</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Msg/outmsg/')">发件箱</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Msg/writemsg/')">联系我们</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Change/cody/c_id/1')">修改资料</a></li>
    	<li><a onclick="javascript:SetUrl('__APP__/Change/cody/c_id/2')">修改密码</a></li>
        </ul>
        </div>
    </div>
	
    <div class="l_top" id="qh_con2" style="display:none;"><h1>财务管理</h1>
    <div class="lianx"></div>
    <div class="menu">
        <ul>
        <li><a onclick="javascript:SetUrl('__APP__/Change/cody/c_id/3')">财务统计</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Bonus/cody/c_id/1')">财务明细</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Transfer/cody/c_id/1')">账户转账</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Currency/cody/c_id/1')">奖金币兑换</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Recharge/cody/c_id/1')">奖金币充值申请</a></li>
        </ul>
        </div>
    </div>

    <div class="l_top" id="qh_con3" style="display:none;"><h1>市场管理</h1>
    <div class="lianx"></div>
        <div class="menu">
        <ul>
        <li><a onclick="javascript:SetUrl('__APP__/Plan/planTwo')">注册会员</a></li>
        <!--<li><a onclick="javascript:SetUrl('__APP__/Network/cody/c_id/1')">自我消费</a></li>-->
        <li><a onclick="javascript:SetUrl('__APP__/Tree/cody/c_id/4')">网络架构图</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Tree/cody/c_id/6')">推荐关系图</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Fck/cody/c_id/3')">查看直推体系</a></li>
        <!--<li><a onclick="javascript:SetUrl('__APP__/Network/cody/c_id/2')">我的分红点</a></li>-->
        </ul>
        </div>
    </div>
    
    <div class="l_top" id="qh_con4" style="display:none;"><h1>报单中心</h1>
    <div class="lianx"></div>
        <div class="menu">
        <ul>
        <lt name="fck_rs['is_agent']" value='2'>
        	<li><a onclick="javascript:SetUrl('__APP__/Agent/cody/c_id/1')">申请报单中心</a></li>
        </lt>
        <li><a onclick="javascript:SetUrl('__APP__/Agent/cody/c_id/2')">未开通会员</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Agent/cody/c_id/3')">已开通会员</a></li>
        </ul>
        </div>
    </div>
    
    <div class="l_top" id="qh_con5" style="display:none;"><h1>订单管理</h1>
    <div class="lianx"></div>
        <div class="menu">
        <ul>
        <li><a onclick="javascript:SetUrl('__APP__/Gouwu/cody/c_id/3/')">购物商场</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Gouwu/shopCar/')">查看购物车</a></li>
        <li><a onclick="javascript:SetUrl('__APP__/Gouwu/cody/c_id/4/')">我的订单</a></li>
        </ul>
        </div>
    </div>
    
    <egt name="fck_rs['is_boss']" value='1'>
    <div class="l_top" id="qh_con6" style="display:none;"><h1>后台管理</h1>
    <div class="lianx"></div>
        <div class="menu">
            <ul>
            <li><a onclick="javascript:SetUrl('__APP__/Bonus/cody/c_id/3')">当期出纳</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Bonus/cody/c_id/4')">奖金查询</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/1')">会员审核</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/2')">会员管理</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Uplevel/cody/c_id/2')">晋级管理</a></li>
            <!--<li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/19')">奖励会员</a></li>-->
            <li><a onclick="javascript:SetUrl('__APP__/Gouwu/cody/c_id/1/')">产品管理</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Gouwu/cody/c_id/2/')">物流管理</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Agent/cody/c_id/4')">报单中心管理</a></li>
            <!--<li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/11')">结算分红</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/30')">分红查看</a></li>-->
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/18')">货币流向</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Currency/cody/c_id/2')">提现管理</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Recharge/cody/c_id/2')">充值管理</a></li>
            <!--<li><a onclick="javascript:SetUrl('__APP__/Phonecard/cody/c_id/1')">电话卡管理</a></li>-->
            <!--<li><a onclick="javascript:SetUrl('__APP__/Consume/cody/c_id/2')">封顶申请管理</a></li>-->
            <!--<li><a onclick="javascript:SetUrl('__APP__/Recharge/cody/c_id/4')">在线充值管理</a></li>-->
            <!--<li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/28')">重复消费清单</a></li>-->
            <li><a onclick="javascript:SetUrl('__APP__/News/cody/c_id/1/')">新闻公告管理</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Plan/cody/c_id/5/')">常见问题设置</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Plan/cody/c_id/2/')">注册协议设置</a></li> 
            <!--<li><a onclick="javascript:SetUrl('__APP__/Plan/cody/c_id/4/')">视频宣传设置</a></li> -->
            <!--<li><a onclick="javascript:SetUrl('__APP__/Imag/cody/c_id/1')">宣传图片管理</a></li> -->
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/7')">数据库备份</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/3')">参数设置</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/9')">清空数据</a></li>
            </ul>
        </div>
    </div>
    <else/>
    	<eq name="fck_rs['is_aa']" value='2'>
        <div class="l_top" id="qh_con6" style="display:none;"><h1>后台管理</h1>
    <div class="lianx"></div>
        <div class="menu">
            <ul>
            <li><a onclick="javascript:SetUrl('__APP__/Gouwu/cody/c_id/2/')">物流管理</a></li>
            </ul>
        </div>
    </div>
    	</eq>
        <eq name="fck_rs['is_aa']" value='1'>
        <div class="l_top" id="qh_con6" style="display:none;"><h1>后台管理</h1>
    <div class="lianx"></div>
        <div class="menu">
            <ul>
            <li><a onclick="javascript:SetUrl('__APP__/Bonus/cody/c_id/3')">当期出纳</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Bonus/cody/c_id/4')">奖金查询</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/YouZi/cody/c_id/18')">货币流向</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Currency/cody/c_id/2')">提现管理</a></li>
            <li><a onclick="javascript:SetUrl('__APP__/Recharge/cody/c_id/2')">充值管理</a></li>
            </ul>
        </div>
    </div>
    	</eq>
        <eq name="fck_rs['is_aa']" value='0'>
    	<div class="l_top" id="qh_con6" style="display:none;"></div>
        </eq>
    </egt>

    </td>
    <td valign="top" style="width:99%;height:expression(this.clientHeight);">
    <div id="center_layout">
    <iframe id="main" style="z-index: 1; width:99%" name="main" src="__APP__/Public/main/" frameborder="0" scrolling="auto" onload="turnHeight('main');" target="self" allowtransparency="true"></iframe>
    </div>
    </td>
    </tr>
    <tr>
<td height="25" colspan="2">
<div id="foot">Copyright © 2013-2023 {$System_namex} ,All Right Reserved.</div>
</td></tr>
</table>
<eq name="fck_rs.is_xf" value="1">
<div id="tx_cont">
<div align="right"><img id="tx_close" src="__PUBLIC__/Images/lightbox-btn-close.gif" style="cursor:hand;"/></div>
<div id="tx_text">您好，您的账户已达到升级标准，目前奖金处于关闭状态，请您及时升级！</div>
</div>
</eq>
</body>
</html>
<eq name="fck_rs.is_xf" value="1">
<script language="javascript" type="text/javascript">
$(document).ready(function(){
	$.blockUI({
			  message: $('#tx_cont'),
			  fadeIn: 700, 
    		  fadeOut: 700, 
			  timeout:   8000,
			  showOverlay: false, 
			  css: { 
			  		left: '0px',
					top: '0px',
					border: 'none', 
					padding: '250px 0px', 
					backgroundColor: '#000', 
					'-webkit-border-radius': '10px', 
					'-moz-border-radius': '10px', 
					opacity: .9, 
					color: '#fff',
					width: $(window).width(),
					height: $(window).height()
				}
			  });
	$('#tx_close').attr('title','点击关闭').click($.unblockUI);
});
</script>
</eq>
<script language="javascript">
	function SetUrl(url)
	{
		window.parent.main.location.href = url;
	}
	function qiehuan(num){
		for(var id = 1;id<=7;id++)
		{
			if(id==num)
			{
				document.getElementById("qh_con"+id).style.display="block";
				document.getElementById("mynav"+id).className="nav_on";
			}
			else
			{
				document.getElementById("qh_con"+id).style.display="none";
				document.getElementById("mynav"+id).className="nav_off";
			}
		}
	}
	function SetCwinHeight(iframename){
		var cwin=iframename;
		if (document.getElementById)
		{
			if (cwin && !window.opera)
			{
				var helt = document.body.clientHeight-120;
				cwin.height = helt;
			}
		}
	}
	function settime()
		{
		var myyear,mymonth,myweek,myday,mytime,mymin,myhour,mysec;
		function initArray(){
			this.length=initArray.arguments.length;
			for(var i=0;i<this.length;i++){
				this[i+1]=initArray.arguments[i];
			}
		}
		var d=new initArray(" 星期日"," 星期一"," 星期二"," 星期三"," 星期四"," 星期五"," 星期六");
	    var mydate=new Date();
		myyear=mydate.getFullYear();
		mymonth=mydate.getMonth()+1;
		myday=mydate.getDate();
		myhour=mydate.getHours();
		mymin=mydate.getMinutes();
		mysec=mydate.getSeconds();
		mytime = d[mydate.getDay()+1] + " " + myyear+"-"+mymonth+"-"+myday+" "+myhour+":"+mymin+":"+mysec;
		if(mytime.length<25){
			for(var i=mytime.length;i<=25;i++){
				mytime += "&nbsp;";
			}
		}
		document.getElementById("nihao").innerHTML = "今天是：" + mytime;
		setTimeout('settime()',1000);
	} 
	settime();
	
</script> 
<script language="javascript">
function turnHeight(iframe)
{
    var frm = document.getElementById(iframe);
	frm.height = 600;
    var subWeb = document.frames ? document.frames[iframe].document : frm.contentDocument;
    if(frm != null && subWeb != null)
    {
		if (subWeb.body.scrollHeight<600){
			frm.height = 600;
		}else{
			frm.height = subWeb.body.scrollHeight + 20;
		}
	}
}
</script>